package com.ktwlsoft.fundmanage.domain.entity;

import lombok.Data;

import javax.persistence.*;
import javax.validation.constraints.NotNull;

@Entity
@Data
public class BusinessProtocol extends BaseEntity {

    private static final long serialVersionUID = -1722171210011421826L;

    /**
     * 主键
     */
    @Id
    private long id;

    /**
     * 案件编号
     */
    @NotNull
    private long tsCode;

    /**
     * 核定协议内容
     */
    @Lob
    private String content;

    /**
     * 新编辑的协议内容
     */
    @Lob
    private String newContent;

    /**
     * 协议是否被打印过
     */
    private boolean printed = false;

    // /**
    //  * 协议审核是否通过
    //  */
    // private boolean approval = false;
}
